<?php
	include "connection-provider.php";

session_start();
?>

<div style="width:960px; margin:0 auto;">
<?php
	

?>


	<fieldset>
	<form action="add-question.php" method="POST">
	
	Select Question Type : 
<?php

		$questionTable = "question_type";
		$result = mysqli_query($con,"SELECT * FROM `$questionTable`");	
		
		while($row = mysqli_fetch_array($result))
			{	
?>
		
			<input type="radio" name="selectTypeAdmin" value="<?php echo $row['QTypeID']; ?>"><?php echo $row['QType']; ?>
				
<?php		
			}
			echo "<br/>";echo "<br/>";
?>			
			
			<input type="submit" name="selectQuestionTypeAdmin" value="Select">
			
</form>
</fieldset>

</div>

	